package vn.ikame.android.adapter;

import vn.ikame.android.chuyenay.R;
import android.content.Context;
import android.view.LayoutInflater;
import android.widget.LinearLayout;
import android.widget.TextView;

public class CustomViewGroup extends LinearLayout {
    public TextView questionContent;
    public LinearLayout item;
    public CustomViewGroup(Context context) {
        super(context);
        
        //Sử dụng LayoutInflater để gán giao diện trong list.xml cho class này 
        LayoutInflater li = (LayoutInflater) this.getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
        li.inflate(R.layout.list, this, true);
        
        //Lấy v�? các View qua Id
        questionContent = (TextView) findViewById(R.id.question_content);
//        questionContent.setTypeface(Splash.tf);
        
        item = (LinearLayout) findViewById(R.id.item_list);
    }
}
